#ifndef CONFIG
#define CONFIG

/*************游戏配置数据***************/
#define GAME_WIDTH  800//宽度
#define GAME_HEIGHT 1067//高度
#define GAME_TITLE  "飞机大战1.0"//标题
#define GAME_RATE   10//单位ms 定时器刷新时间
#define GAME_BACK ":/rec.image/Mainscene_Back.jpg"//主场景背景
#endif // CONFIG
#ifndef CONFIG_H
#define CONFIG_H


/*************游戏配置数据***************/
#define GAME_WIDTH  800//宽度
#define GAME_HEIGHT 1067//高度
#define GAME_TITLE  "飞机大战1.0"//标题
#define GAME_RATE   10//单位ms 定时器刷新时间
#define GAME_BACK ":/rec.image/Mainscene_Back.jpg"//主场景背景
/*************地图配置数据***************/
#define MAP_SCROLL_SPEED 2//地图滚动速度
#define MAP_BACK ":/rec.image/Playscene__Back.jpg"//地图
/*************飞机配置数据***************/
#define HERO_PATH1 ":/rec.image/Myplane01.png"
#define HERO_PATH2 ":/rec.image/Myplane02.png"
#define HERO_PATH3 ":/rec.image/Myplane03.png"
#define HERO1_BLOOD  200
#define HERO2_BLOOD  400
#define HERO3_BLOOD  800
#define HERO1_BLUE   200
#define HERO2_BLUE   300
#define HERO3_BLUE   400
#define HERO2_VALUE  500
#define HERO3_VALUE  1000

/*************僚机配置数据***************/
#define WING_PATH1  ":/rec.image/Wing01.png"
#define WING_PATH2  ":/rec.image/Wing02.png"
#define WING_PATH3  ":/rec.image/Wing03.png"
#define WING_PATH4  ":/rec.image/Wing04.png"
#define WING_PATH5  ":/rec.image/Wing05.png"
#define WING_PATH6  ":/rec.image/Wing06.png"
#define WING_PATH7  ":/rec.image/Wing07.png"
#define WING_BULLET_SPEED 5
#define WING_BULLLET_INTERVAL 30
#define WING_BULLET_NUM  20
#define WING_BULLET01_HURT 2
#define WING_BULLET02_HURT 4
#define WING_BULLET03_HURT 6
#define WING_BULLET04_HURT 8
#define WING_BULLET05_HURT 10
#define WING_BULLET06_HURT 12

#define WING_BULLET01_PATH ":/rec.image/Wing_bullet01.png"
#define WING_BULLET03_PATH ":/rec.image/Wing_bullet03.png"
#define WING_BULLET04_PATH ":/rec.image/Wing_bullet04.png"
#define WING_BULLET05_PATH ":/rec.image/Wing_bullet05.png"
#define WING_BULLET06_PATH ":/rec.image/Wing_bullet06.png"
#define WING_BULLET07_PATH ":/rec.image/Wing_bullet07.png"
#define WING1_VALUE   50
#define WING2_VALUE   100
#define WING3_VALUE   150
#define WING4_VALUE   200
#define WING5_VALUE   250
#define WING6_VALUE   300


/*************子弹配置数据***************/
#define HERO1_BULLET  ":/rec.image/Bullet01.png"
#define HERO2_BULLET  ":/rec.image/Bullet02.png"
#define HERO3_BULLET  ":/rec.image/Bullet03.png"
#define BULLET1_SPEED 6//子弹移动速度
#define BULLET2_SPEED 7//子弹移动速度
#define BULLET3_SPEED 8//子弹移动速度
#define BULLET1_HURT  3
#define BULLET2_HURT  4
#define BULLET3_HURT  5
#define BULL_NUM 60//子弹个数
#define BULL_NUM2 200
#define BULL_NUM3 100
#define BULL_INTERVAL 25//发射子弹间隔
#define BULL_SPECIAL_INTERVAL 5
#define BULL_SPECIAL_INTERVAL2 5
/*************升级配置数据***************/
#define UPGRADE_ADDBULLET_PATH ":/rec.image/upgrade.png"
#define UPGRADE_ADDBULLET_NUM  1
#define UPGRADE_BACKBLOOD_NUM  1
#define UPGRADE_SPEED 1
#define UPGRADE_INTERVAL  600
#define SHIELD_DEFENSE  100
#endif // 01CONFIG_H

/*************敌机配置***************/
#define  ENEMY01_PATH ":/rec.image/Enemy01.png"
#define  ENEMY03_PATH ":/rec.image/enemy03.png"
#define  ENEMY01_SPEED 2//敌机移动速度
#define  ENEMY03_SPEED 2//敌机移动速度
#define ENEMY01_NUM  20//敌机数量
#define ENEMY03_NUM  100//敌机3数量
#define  ENEMY01_INTERVAL 100//敌机出场时间间隔
#define  ENEMY03_INTERVAL 50//敌机出场时间间隔
#define  ENEMY01_BLOOD 30//敌机1血量
#define  ENEMY03_BLOOD 20//敌机3血量
#define  ENEMY01_BULLET_PATH  ":/rec.image/EnemyBullet01.png"
#define  ENEMY01_BULLET_HURT   2
#define  ENEMY01_BULLET_SPEED  4
#define  ENEMY01_BULLET_NUM    15
#define ENEMY01_BULLET_INTERVAL 60
/*************爆炸配置***************/
#define BOMB_PATH ":/rec.image/tex0%1.png"//爆炸资源图片
#define BOMB_NUM  20//爆炸数量
#define BOMB_MAX  5//爆炸图片最大索引
#define BOMB_INTERVAL 8//爆炸切图间隔
/*************BOSS配置***************/
#define BOSS01_PATH ":/rec.image/Boss01.png"
#define BOSS01_BLOOD  2000
#define BOSS01_BULLET01_PATH ":/rec.image/Boss01_bullet01.png"
#define BOSS01_BULLET02_PATH ":/rec.image/Boss01_bullet02.png"
#define BOSS01_BULLET03_PATH ":/rec.image/Boss01_Bullet03.png"
#define BOSS01_BULLET01_HURT 20
#define BOSS01_BULLET02_HURT 50
#define BOSS01_BULLET03_HURT 5
#define BOSS01_BULLET04_HURT 2
#define BOSS01_BULLET_NUM 10
#define BOSS01_INTERVAL    60

/*************金币配置数据***************/
#define GOLD_INIT_NUM  9999
#define GOLD_NUM       5//金币数组
#define GOLD_PATH    ":/rec.image/gold.png"
#define GOLD_SPEED     3
#define GOLD_INTERVAL  200



/*************音效配置数据***************/
#define MUSIC_BOMB01 ":/rec.image/music_bomb01.wav"
#define MUSIC_BOMB02 ":/rec.image/music_bomb02.wav"
#define MUSIC_BACK01 "qrc:/rec.image/BackMusic (2).wav"
#define MUSIC_BACK02 ":/rec.image/Music_PlayBack.wav "
#define MUSIC_BTN    ":/rec.image/Music_Btn.wav"
#define MUSIC_GOLD   ":/rec.image/music_Gold.wav"
#define MUSIC_SHOOT  ":/rec.image/music_shoot.wav"
#define MUSIC_UP     ":/rec.image/music_upgrade.wav"
#define MUSIC_ALARM  ":/rec.image/music_alarm.wav"
#define MUSIC_OVER   ":/rec.image/music_over.wav"




